/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package storage.dbobject;

import java.util.UUID;

/**
 * 
 * @author wan
 */
public class DbNoiseIdentifyRule {

	/**
	 * 
	 * string
	 */
	public static final String CL_KEY = "KEY";
	private String rowKey;
	/**
	 * 
	 * string
	 */
	public static final String CL_NAME = "name";
	private String name;
	/**
	 * 
	 * string
	 */
	public static final String CL_NOISERULE = "noiseRule";
	private String noiseRule;
	/**
	 * 
	 * string
	 */
	public static final String CL_CREATETIME = "createTime";
	private String createTime;

	/**
	 * 
	 * @param rowKey parameter
	 * @param name parameter
	 * @param noiseRule parameter
	 * @param createTime parameter
	 * @return
	 */
	public DbNoiseIdentifyRule(String rowKey, String name, String noiseRule,
			String createTime) {
		this.rowKey = rowKey;
		this.createTime = createTime;
		this.name = name;
		this.noiseRule = noiseRule;
	}

	/**
	 * 
	 * @param name parameter
	 * @param noiseRule parameter
	 * @param createTime parameter
	 * @return
	 */
	public DbNoiseIdentifyRule(String name, String noiseRule, String createTime) {
		this.rowKey = UUID.randomUUID().toString();
		this.createTime = createTime;
		this.name = name;
		this.noiseRule = noiseRule;
	}

	/**
	 * @return the rowKey
	 */
	public String getRowKey() {
		return rowKey;
	}

	/**
	 * 
	 * @param rowKey parameter
	 * @return
	 */
	public void setRowKey(String rowKey) {
		this.rowKey = rowKey;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 
	 * @param name parameter
	 * @return
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the noiseRule
	 */
	public String getNoiseRule() {
		return noiseRule;
	}

	/**
	 * 
	 * @param noiseRule parameter
	 * @return
	 */
	public void setNoiseRule(String noiseRule) {
		this.noiseRule = noiseRule;
	}

	/**
	 * @return the createTime
	 */
	public String getCreateTime() {
		return createTime;
	}

	/**
	 * 
	 * @param createTime parameter
	 * @return
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

}
